//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03B
TN_Widget.CreateTable([['Four Way Street - Crosby Stills and Nash Tribute Band','Stephen Talkhouse','Amagansett, NY','Saturday','5/11/2024','8:00 PM','6320865','Four-Way-Street---Crosby-Stills-and-Nash-Tribute-Band-5-11-2024'],['The Music of Crosby, Stills, and Nash - Live Rehearsal Show','City Winery - New York City','New York, NY','Sunday','5/12/2024','7:30 PM','6404049','The-Music-of-Crosby--Stills--and-Nash---Live-Rehearsal-Show-5-12-2024'],['The Music of Crosby, Stills, and Nash: Todd Rundgren, Grace Potter, Yola, Iron and Wine & Shawn Colvin','Carnegie Hall - Isaac Stern Auditorium','New York, NY','Monday','5/13/2024','8:00 PM','6354062','The-Music-of-Crosby--Stills--and-Nash--Todd-Rundgren--Grace-Potter--Yola--Iron-and-Wine---Shawn-Colvin-5-13-2024'],['Harvest Moon - Crosby, Stills, Nash and Young Tribute','Madlife Stage & Studios','Woodstock, GA','Sunday','6/2/2024','4:00 PM','6124963','Harvest-Moon---Crosby--Stills--Nash-and-Young-Tribute-6-2-2024'],['Four Way Street - Crosby Stills and Nash Tribute Band','The Argyle Theatre at Babylon Village','Babylon, NY','Saturday','6/22/2024','8:00 PM','6280453','Four-Way-Street---Crosby-Stills-and-Nash-Tribute-Band-6-22-2024'],['Our House - The Music of Crosby, Stills, Nash & Young','The Lobero Theatre','Santa Barbara, CA','Wednesday','7/10/2024','7:30 PM','6371485','Our-House---The-Music-of-Crosby--Stills--Nash---Young-7-10-2024'],['Our House - The Music of Crosby, Stills, Nash & Young','JaM Cellars Ballroom','Napa, CA','Friday','7/12/2024','8:00 PM','6375295','Our-House---The-Music-of-Crosby--Stills--Nash---Young-7-12-2024'],['Our House - The Music of Crosby, Stills, Nash & Young','JaM Cellars Ballroom','Napa, CA','Saturday','7/13/2024','8:00 PM','6375296','Our-House---The-Music-of-Crosby--Stills--Nash---Young-7-13-2024'],['Our House - The Music of Crosby, Stills, Nash & Young','Anderson Theater At Cincinnati Memorial Hall','Cincinnati, OH','Wednesday','7/31/2024','8:00 PM','6393397','Our-House---The-Music-of-Crosby--Stills--Nash---Young-7-31-2024'],['Our House - The Music of Crosby, Stills, Nash & Young','MGM Northfield Park - Center Stage','Northfield, OH','Friday','8/2/2024','8:00 PM','6375298','Our-House---The-Music-of-Crosby--Stills--Nash---Young-8-2-2024'],['Our House - The Music of Crosby, Stills, Nash & Young','Des Plaines Theatre','Des Plaines, IL','Saturday','8/3/2024','8:00 PM','6377469','Our-House---The-Music-of-Crosby--Stills--Nash---Young-8-3-2024'],['Our House - The Music of Crosby, Stills, Nash & Young','Patchogue Theater For The Performing Arts','Patchogue, NY','Wednesday','8/7/2024','8:00 PM','6380585','Our-House---The-Music-of-Crosby--Stills--Nash---Young-8-7-2024'],['Our House - Crosby, Stills, Nash & Young Tribute','Sony Hall','New York, NY','Thursday','8/8/2024','8:00 PM','6372165','Our-House---Crosby--Stills--Nash---Young-Tribute-8-8-2024'],['Our House - The Music of Crosby, Stills, Nash & Young','Beacon Theatre - VA','Hopewell, VA','Sunday','8/11/2024','7:00 PM','6413463','Our-House---The-Music-of-Crosby--Stills--Nash---Young-8-11-2024'],['Our House - The Music of Crosby, Stills, Nash & Young','Wilbur Theatre - MA','Boston, MA','Wednesday','8/14/2024','8:00 PM','6375299','Our-House---The-Music-of-Crosby--Stills--Nash---Young-8-14-2024'],['Our House - The Music of Crosby, Stills, Nash & Young','Garde Arts Center','New London, CT','Thursday','8/15/2024','7:30 PM','6379979','Our-House---The-Music-of-Crosby--Stills--Nash---Young-8-15-2024'],['Our House - The Music of Crosby, Stills, Nash & Young','State Theatre - New Jersey','New Brunswick, NJ','Friday','8/16/2024','7:00 PM','6375293','Our-House---The-Music-of-Crosby--Stills--Nash---Young-8-16-2024'],['Our House - The Music of Crosby, Stills, Nash & Young','Keswick Theatre','Glenside, PA','Saturday','8/17/2024','8:00 PM','6375283','Our-House---The-Music-of-Crosby--Stills--Nash---Young-8-17-2024'],['Our House - The Music of Crosby, Stills, Nash & Young','Bethel Woods Center For The Arts','Bethel, NY','Sunday','8/18/2024','8:00 PM','6375300','Our-House---The-Music-of-Crosby--Stills--Nash---Young-8-18-2024'],['Harvest Moon - Crosby, Stills, Nash and Young Tribute','Walhalla Civic Auditorium','Walhalla, SC','Saturday','8/24/2024','7:30 PM','6327287','Harvest-Moon---Crosby--Stills--Nash-and-Young-Tribute-8-24-2024']],'Crosby, Stills','http://www.ticketnetwork.com/ticket/Crosby,-Stills-events.aspx');